//
//  Util.h
//  YiChat20160706
//
//  Created by 李政 on 16/7/6.
//  Copyright © 2016年 ZhiYou. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

typedef void(^Block)();

@interface Util : NSObject

+ (void)showAlertWithMessage:(NSString *)message confirmBlock:(Block)block;

+ (long long)getFileSizeWithFile:(NSDictionary *)fileDic;

+ (NSString *)getDestinationFilePathWithFile:(NSDictionary *)fileDic;

+ (NSString *)getTempFilePathWithFile:(NSDictionary *)fileDic;

+ (BOOL)checkTheFileDidDownloadWithFile:(NSDictionary *)fileDic;

+ (BOOL)deleteFileWithDic:(NSDictionary *)dic;

@end
